home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / CODING / INTERNET / MESSAGE.ZIP / README.TXT < prev    next >
Encoding:
Text File  |  1996-05-03  |  6.6 KB  |  132 lines

  1. *****************************************************************
  2. *                                                               *
  3. *                             Message(F1.0)                     *
  4. *                            Java Applet                        *
  5. *                         Written by Mark Qian                  *
  6. *                                                               *
  7. *****************************************************************
  8.  
  9.    
  10.  
  11.  
  12. Message is a JAVA appelt written by Mark Qian. It displays user-specified
  13. scrolling messages with sound.  Each piece of text message can be asigned a URL
  14. so that the corresponding URL will be opened when you click at the text message.
  15. It plays a user-specified sound(an au file) when mouse cursor moves over the applet 
  16. area. One of Message's interesting features is that it can "talk" to
  17. other specified applets such as Ad.  That is, when you move mouse cursor within
  18. Ad, Ad will ask Message to display the description about the picture displayed by
  19. Ad. Message is an AdWare at this time.     
  20.  
  21. PARAMETERS:
  22. ==========
  23.          
  24.          RegistrationCode - Code that enable following features
  25.          speed       - the speed of animation.
  26.          talkto      - Specify which applet to talk to
  27.          animatemode - 0 always scroll messages.
  28.                        1 scroll to a specified message when "talk" to others such as AD   
  29.                        2 stop scrolling  when mouse cursor within AD 
  30.          switchcolor - 0 the background color will not be changed
  31.                        0 the background color will be changed when switching messages 
  32.          withURL     - Set to 1 if you like to open an URL when clicking at a message.
  33.                        Otherwise, you can set it to 0 and ignore on_click parameters.
  34.          audiofile   - the audio file that should reside in
  35.                        the directory where the applet resides.         
  36.          nText       - Number of text messages
  37.          text1...              
  38.          textn       - Text messages (number of them should be the value of nText)
  39.          on_click1 ...
  40.          on_clickn   - The URLs to be opened when corresponding message is clicked
  41.                        (number of them should be the value of nText)
  42.             
  43.             
  44.  
  45. INSTALLATION:
  46. ============           
  47.           
  48. If you are a webmaster or experienced person, just follow the brief
  49. instructions below. 
  50.  
  51. IMPORTANT:
  52. =========
  53.    
  54.    *********************************************************************************
  55.    *                                                                               *
  56.    *   If you are NOT familiar with Java applet installation an Unix environment,  *
  57.    *   Please follow the detail instructions in                                    *
  58.    *                                                                               *
  59.    *   http://ourworld.compuserve.com/homepages/mark_qian                          *
  60.    *                                                                               *
  61.    *   to install it.  Don't try it youself.                                       *
  62.    *                                                                               *
  63.    *********************************************************************************
  64.  
  65.  
  66.  
  67. BRIEF INSTRUCTIONS (for experienced people only):
  68. ==================
  69.   
  70.   0). Unzip MESSAGE.ZIP in your local machine (you had done this step).
  71.   
  72.   
  73.   1). Rename class files. Because PKUNZIP will extract the
  74.       class file, message.class, to MESSAG~1.CLA,  you have to RENAME 
  75.       the class file to message.class. NOTE: They are case sensitive.           
  76.   
  77.   2). Open TEST_MSG.HTM with your browser locally. If it works locally,
  78.       go to next step.  Otherwise, go to Mark's home page for detail
  79.       instructions.
  80.       
  81.   3). Try TEST_MSG.HTM online(Ignore this step if you think that you 
  82.       REALLY know what to do). 
  83.   
  84.          - place message.class in the place you want in your server.
  85.            (FTP program may change message.class to message.cla. Rename class file
  86.             if needed).
  87.          - place TEST_MSG.HTM and LAUGH.AU to the same directory
  88.          - change access attributes of all the files above to readable(744)
  89.          - Browse TEST_MSG.HTM from your local machine
  90.          
  91.       If it works, go to next step.  Otherwise Go to Mark's page for instructions.
  92.          
  93.    
  94.    4).Use your own stuff
  95.          
  96.          - add following HTML statements into your HTML's body  
  97.  
  98.             <center><FORM><table border = 2><tr><td  ALIGN=center VALIGN=middle><center>
  99.             <applet code="message.class" width=403 height=30 name="message">
  100.             <param name=RegistrationCode value="f1.0-32327">
  101.             <param name=speed value="10">  
  102.             <param name=withURL value="1">       
  103.             <param name=switchcolor value="1">       
  104.             <param name=animatemode value="0"> 
  105.             <param name=audiofile value="LAUGH.AU"> 
  106.             <param name=talkto value=" "> 
  107.             <param name=nText value="5"> 
  108.             <param name=Text1 value="COOLSHARE is Mark Qian's home page where you can find the best screen savers in the world, FREE Java applets, Fun stuff for Webmasters, other fun places such as dating, friends, and more..."> 
  109.             <param name=Text2 value="FREE dating! Click me to find the one in your mind!! "> 
  110.             <param name=Text3 value="IBM up again!! Click me to watch your stock..."> 
  111.             <param name=Text4 value="Click me to send your friends FREE WWW cards.  Design your own style!"> 
  112.             <param name=Text5 value="Come on. Take a break. Here is a piece of music...Click to hear"> 
  113.             <param name=on_click1 value="http://www.aimnet.com/~markqian/HOMEPAGE.HTM"> 
  114.             <param name=on_click2 value="http://www.ozchannel.com/chatsingles/chatsingles.html"> 
  115.             <param name=on_click3 value="http://www.secapl.com/cgi-bin/qs"> 
  116.             <param name=on_click4 value="http://www.warnerbros.com/postoffice/HTML/crd-loon.htm"> 
  117.             <param name=on_click5 value="http://brookmays.com/"> 
  118.             </applet></center></td></tr></table></FORM>
  119.             </center> 
  120.   
  121.       - replace parametes such as "on_click", "text", "audiofile" with your stuff.
  122.   
  123.   
  124.   5). If it works, enjoy it!! (If you like to do its hard-working author a favor, Drop him an 
  125.       LAUGH to let Mark know It runs OK).  Otherwise, go to Mark's page for detail instructions
  126.       of troubleshooting.
  127.  
  128.  
  129.     
  130. Go Mark's Home Page(http://ourworld.compuserve.com/homepages/mark_qian") to see more exciting applets!
  131.  
  132.